<template>
  <nav class="top-nav">
    <ul>
      <li v-for="item in menuItems" :key="item.id">
        <a :href="item.url">{{ item.label }}</a>
      </li>
    </ul>
  </nav>
</template>

<script setup></script>

<style scoped>
.top-nav {
  background-color: #f2f2f2;
  padding: 10px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

li {
  display: inline-block;
  margin-right: 10px;
}

a {
  text-decoration: none;
  color: #333;
}
</style>